<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>渐变球体</title>
      <style>
    div {
      width: 200px;
      height: 200px;
      background-color:aliceblue;
      margin:  100px auto;
      transition: all 2s linear 0s;
    }

    div:hover {
      border-radius: 50%;
      box-shadow: inset 10px 10px 50px 10px black;
    }
  </style>
</head>
<body>
  
   <div></div>
</body>

</html>